<template>
  <div>
    <div class="val">{{ value }}</div>
    <button @click="add">+</button>
  </div>
</template>

<script>

export default {
  name: "ElSelectDemo",
  data() {
    return {
      options: [],
      value: "1",
    };
  },
  methods: {
    add() {
      this.value++;
      this.$nextTick(() => {
        console.log(this.$el.querySelector(".val").innerHTML);
      })
    }
  }
};
</script>
